package Model;

/**
 * Responsible for all the information pertaining to a single cell 
 * in the maze
 * -Created Class(Mar 14,2011)
 * Samual Martelli
 * </pre>
 */
@SuppressWarnings("hiding")
public class MazeCell<Point,Integer>{

	
	private final Point cellKey;
	private Integer cellValue;

	public MazeCell(Point newPoint, Integer newValue) {
		cellKey = newPoint;
		cellValue = newValue;
	}


	/**
	 * Returns the point of a particular maze cell
	 * -added comment(Mar 15,2011)
	 * Samual Martelli
	 * </pre>
	 */
	public Point getKey() {
		return cellKey;
	}

	/**
	 * Returns the value of a particular maze cell
	 * -added comment(Mar 15,2011)
	 * Samual Martelli
	 * </pre>
	 */
	public Integer getValue() {
		return cellValue;
	}

	/**
	 * Sets the value of a particular maze cell
	 * -added comment(Mar 15,2011)
	 * Samual Martelli
	 * </pre>
	 */
	public void setValue(Integer newValue) {
		cellValue = newValue;
	}

	
}
